﻿<Window x:Class="kursovaya.Windows.EdtiTecWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:local="clr-namespace:kursovaya.Windows"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        Title="Редактировать работников" Height="600" Width="320">
    <Grid Background="LightSeaGreen">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="1" Margin="10">
                <TextBox x:Name="IdTextBox"
                         Style="{StaticResource MaterialDesignFilledTextBox}"
                         Margin="0 0 0 30"
                         materialDesign:HintAssist.Hint="Id работника для редактирования"
                         FontSize="15"
                         TextWrapping="Wrap"
                         MaxWidth="300" />
                <TextBox x:Name="FirstNameTextBox"
                         Style="{StaticResource MaterialDesignFilledTextBox}"
                         Margin="0 0 0 10"
                         materialDesign:HintAssist.Hint="Имя"
                         FontSize="15"
                         TextWrapping="Wrap"
                         MaxWidth="300" />
                <TextBox x:Name="LastNameTextBox"
                         Style="{StaticResource MaterialDesignFilledTextBox}"
                         Margin="0 0 0 10"
                         materialDesign:HintAssist.Hint="Фамилия"
                         FontSize="15"
                         TextWrapping="Wrap"
                         MaxWidth="300" />
                <TextBox x:Name="MiddleNameTextBox"
                         Style="{StaticResource MaterialDesignFilledTextBox}"
                         Margin="0 0 0 10"
                         materialDesign:HintAssist.Hint="Отчество"
                         FontSize="15"
                         TextWrapping="Wrap"
                         MaxWidth="300" />
                <TextBox x:Name="AgeTextBox"
                         Style="{StaticResource MaterialDesignFilledTextBox}"
                         Margin="0 0 0 10"
                         materialDesign:HintAssist.Hint="Возраст"
                         FontSize="15"
                         TextWrapping="Wrap"
                         MaxWidth="300" />
                <TextBox x:Name="RoleTextBox"
                         Style="{StaticResource MaterialDesignFilledTextBox}"
                         Margin="0 0 0 10"
                         materialDesign:HintAssist.Hint="Роль"
                         FontSize="15"
                         TextWrapping="Wrap"
                         MaxWidth="300" />
                <TextBox x:Name="WorkExpirienceTextBox"
                         Style="{StaticResource MaterialDesignFilledTextBox}"
                         Margin="0 0 0 10"
                         materialDesign:HintAssist.Hint="Опыт работы"
                         FontSize="15"
                         TextWrapping="Wrap"
                         MaxWidth="300" />
                <Button x:Name="SearchButton"
                        Content="Поиск"
                        Click="SearchButton_OnClick"
                        Foreground="DarkGray" 
                        MaxWidth="300"/>
                <Button x:Name="SaveShangesButton"
                        Content="Сохранить изменения"
                        Click="SaveShangesButton_OnClick"
                        HorizontalAlignment="Center"
                        Margin="10"
                        Foreground="DarkGray"
                        MaxWidth="300"/>
            </StackPanel>
        </Grid>
</Window>